package com.atguigu.gmall.all.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author ：MJS
 * @date ：Created in 2021/5/19  14:16
 * @description：TODO
 */
@Controller
public class RegisterController {
  //跳转注册界面
    @GetMapping("/register.html")
    public String login(String originUrl, Model model){
        model.addAttribute("originUrl",originUrl);
        return "register";
    }


}
